package com.summer.filesync.model.manager;

import java.util.Map;

/** 存储分析结果 */
public class StorageAnalysisResult {
  private long totalSpace;
  private long usedSpace;
  private long freeSpace;
  private double usedSpacePercentage;
  private long fileCount;
  private long directoryCount;
  private long largestFileSize;
  private String largestFilePath;
  private Map<String, Long> extensionSizes;
  private Map<String, Integer> extensionCounts;

  // Getters and Setters
  public long getTotalSpace() {
    return totalSpace;
  }

  public void setTotalSpace(long totalSpace) {
    this.totalSpace = totalSpace;
  }

  public long getUsedSpace() {
    return usedSpace;
  }

  public void setUsedSpace(long usedSpace) {
    this.usedSpace = usedSpace;
  }

  public long getFreeSpace() {
    return freeSpace;
  }

  public void setFreeSpace(long freeSpace) {
    this.freeSpace = freeSpace;
  }

  public double getUsedSpacePercentage() {
    return usedSpacePercentage;
  }

  public void setUsedSpacePercentage(double usedSpacePercentage) {
    this.usedSpacePercentage = usedSpacePercentage;
  }

  public long getFileCount() {
    return fileCount;
  }

  public void setFileCount(long fileCount) {
    this.fileCount = fileCount;
  }

  public long getDirectoryCount() {
    return directoryCount;
  }

  public void setDirectoryCount(long directoryCount) {
    this.directoryCount = directoryCount;
  }

  public long getLargestFileSize() {
    return largestFileSize;
  }

  public void setLargestFileSize(long largestFileSize) {
    this.largestFileSize = largestFileSize;
  }

  public String getLargestFilePath() {
    return largestFilePath;
  }

  public void setLargestFilePath(String largestFilePath) {
    this.largestFilePath = largestFilePath;
  }

  public Map<String, Long> getExtensionSizes() {
    return extensionSizes;
  }

  public void setExtensionSizes(Map<String, Long> extensionSizes) {
    this.extensionSizes = extensionSizes;
  }

  public Map<String, Integer> getExtensionCounts() {
    return extensionCounts;
  }

  public void setExtensionCounts(Map<String, Integer> extensionCounts) {
    this.extensionCounts = extensionCounts;
  }
}
